import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { id } from 'element-plus/es/locale';


/**
 * 获取消息列表
 */
export function getMessageList(params:any) {
    return request({
        url: '/api/message' ,
        method: 'get',
        params: params
    });
}


/**
 * 获取消息列表
 */
export function setMessageStatus(id: undefined) {
	return request({
		url: '/api/message',
		method: 'put',
		data: {
			id: id
		}
	});
}
